Types

Link copied to clipboard

An Option value that indicates whether the system can make network requests on behalf of the asset when connected to a cellular network.

Link copied to clipboard

An Option value that indicates whether the system allows network requests on behalf of this asset to use the constrained interface.

Link copied to clipboard

An Option value that indicates whether the system allows network requests on behalf of this asset to use the expensive interface.

Link copied to clipboard
data class HTTPCookies(val cookies: List<<Error class: unknown class>>) : MediaSource.URL.Option

An Option that provides the HTTP cookies that a URL asset may send with HTTP requests.

Link copied to clipboard

An Option value that indicates whether the asset should provide accurate duration and precise random access by time.

Link copied to clipboard
data class PrimarySessionIdentifier(val identifier: <Error class: unknown class>) : MediaSource.URL.Option

An Option that specifies a UUID to set as the session identifier for HTTP requests that the asset makes.

Link copied to clipboard
data class ReferenceRestrictions(val restrictions: List<<Error class: unknown class>>) : MediaSource.URL.Option

An Option that represents the restrictions used by the asset when resolving references to external media data.

Link copied to clipboard
data class RequestAttribution(val attribution: <Error class: unknown class>) : MediaSource.URL.Option

A Option that specifies the attribution of the URLs that this asset requests.

Link copied to clipboard
data class UserAgent(val userAgent: String) : MediaSource.URL.Option

An Option that specifies the user agent of requests that an asset makes.